package cn.edu.ctbu.gudie.repository;

import cn.edu.ctbu.gudie.domain.Appointment;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AppointmentRepository extends JpaRepository<Appointment, Integer> {
    /**
     * 支持分页的找出所有反馈信息
     *
     * @param pageable 分页
     * @return 反馈信息
     */
    public Page<Appointment> findAll(Pageable pageable);
}
